package com.mindainfo.groundwave.common.api.member.service;

import com.mindainfo.groundwave.common.api.member.param.EmpQueryListParam;
import com.mindainfo.groundwave.common.api.member.param.EmpSaveParam;
import com.mindainfo.groundwave.common.api.member.param.EmpToDelParam;
import com.mindainfo.groundwave.common.api.member.vo.EmpQueryListVo;
import com.mindainfo.groundwave.common.bean.CommonResult;
import com.mindainfo.groundwave.common.bean.TableData;

/**
 * Created by MD-01 on 2017/7/3.
 */
public interface IEmployeeService {

    /**
     * 后台页面分页获取人员数据
     */
    CommonResult<TableData<EmpQueryListVo>> queryList(EmpQueryListParam param);

    /**
     * 保存人员
     */
    CommonResult<Void> save(EmpSaveParam param);

    /**
     * 删除人员
     */
    CommonResult<Void> toDel(EmpToDelParam param);
}
